package com.example.find_module.find.fragments.attention;

import com.example.baserecyclerview.quick.BaseQuickAdapter;
import com.example.baserecyclerview.quick.BaseViewHolder;
import com.example.find_module.R;
import com.example.find_module.find.fragments.attention.entity.AttbenEntity;
import com.example.find_module.find.fragments.attention.entity.FindEntity;

public class AttentionAdapter  extends BaseQuickAdapter<AttbenEntity, BaseViewHolder> {

    public AttentionAdapter() {
        super(R.layout.item_attention);
    }

    @Override
    public void convert(BaseViewHolder holder, AttbenEntity item) {
        holder.setText(R.id.attention_tv,item.title);
        holder.setText(R.id.attention_tv_text,item.intro);

        holder.setImage(R.id.attention_im,item.icon);
    }
}
